<template>
  <div>
    <slot name="searchForm"></slot>
    <div class="btnGroup">
      <el-button @click="cleanSearch">重置</el-button>
      <el-button type="primary" @click="importData">导入</el-button>
      <el-button type="success" @click="exportData">导出</el-button>
      <el-button icon="el-icon-search" type="info" @click="seaechData">查询</el-button>
    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {}
  },
  created: function () {

  },
  mounted: function () {

  },
  methods: {

    // 重制
    cleanSearch () {
      this.$emit('cleanSearch')
    },

    // 导入
    importData () {
      this.$emit('importData')
    },

    // 导出
    exportData () {
      this.$emit('exportData')
    },

    // 搜索
    seaechData () {
      this.$emit('seaechData')
    }
  },
  watch: {}
}
</script>

<style lang='scss' scoped type="text/css">

</style>
